package com.junjie.checkin.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;

/**
 * 收货地址表(TReceiverAddress)实体类
 * @author makejava
 * @since 2025-06-14 13:46:19
 */
@Data
@TableName("t_receiver_address")
public class TReceiverAddress implements Serializable {
    private static final long serialVersionUID = 363418424518414396L;
    
/**
     * 主键ID
     */    
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    
/**
     * 用户ID
     */    
    @TableField(value = "user_id")
    private Integer userId;
    
/**
     * 收件人名称
     */    
    @TableField(value = "name")
    private String name;
    
/**
     * 收件人电话
     */    
    @TableField(value = "phone")
    private String phone;
    
/**
     * 收件人地址
     */    
    @TableField(value = "address")
    private String address;

    @TableField(value = "is_default")
    private boolean isDefault;

    @TableLogic
    @TableField(value = "disabled")
    private boolean disabled;
    
    
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;
    
    
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    
}
